package com.xxbb.springbootapi.service.impl;

import com.xxbb.springbootapi.entity.Authority;
import com.xxbb.springbootapi.mapper.AuthorityMapper;
import com.xxbb.springbootapi.service.IAuthorityService;
import com.xxbb.springbootapi.wrapper.AuthorityQuery;
import org.springframework.stereotype.Service;

@Service
public class AuthorityService extends BaseService<AuthorityMapper,Authority> implements IAuthorityService{
    /**
     * 获取mapper
     *
     * @return
     */
    public AuthorityMapper getMapper() {
        return super.dao.mapper;
    }

    /**
     * 获取query
     *
     * @return
     */
    public AuthorityQuery getQuery() {
        return super.dao.mapper.query();
    }
}
